<div class="search">
	<% form_tag(search_path, :method=>:get) do %>
		<%= text_field_tag "q", @search_text, :class=>"text", :value=>(@search_text.blank? ? 'Поиск' : @search_text), :onclick=>"if(this.value=='Поиск'){this.value='';}" %>
		<%= submit_tag "Find", :style=>"display:none;" %>
	<% end %>
</div>
